using MicroMsg.Common.Event;
using System;
namespace MicroMsg.Storage
{
	public class MassMsgStorage : StorageTable<MassMsg, int>
	{
		public MassMsgStorage() : base((MassMsg ma) => ma.nMsgLocalID)
		{
		}
		public override void notify(int operation, MassMsg item)
		{
			EventCenter.postCombineEvent(EventConst.ON_STORAGE_MASSMSG_ADD + operation, item);
		}
	}
}
